/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package carte;

import ctrl.AbstractFactory.staticObj;
import perso.Personnage;

/**
 *
 * @author Administrateur
 */
public class CarteTruand extends Carte {

    private static volatile CarteTruand instance = null;

    
    private CarteTruand(Personnage[][] posPerso,staticObj[][] planques) {
        super(posPerso, planques);
    }

    public static CarteTruand getInstance(Personnage[][] posPerso,staticObj[][] planques) {

        if (CarteTruand.instance == null) {

            synchronized (CarteTruand.class) {
                if (CarteTruand.instance == null) {
                    CarteTruand.instance = new CarteTruand(posPerso, planques);
                }
            }
        }
        return CarteTruand.instance;
    }
}
